package com.ssy.lingxi.system.model.request;

import com.ssy.lingxi.system.handler.annotation.MenuCodeSourceAnno;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 根据客户端类型查询菜单列表
 * @author 万宁
 * @version 2.0.0
 * @date 2021-01-20
 */
public class MenuSourceVO implements Serializable {
    private static final long serialVersionUID = 5962278359805596330L;

    @NotNull(message = "菜单适用平台客户端枚举值不能为空")
    @MenuCodeSourceAnno(nullable = false)
    private Integer source;

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }
}
